LOAD IMAGE
This command will load a bitmap file as an image. You must specify an image number between 1 and 65535. The optional Texture Mode value is used to control the texture capabilities of the image. If you set the Texture Mode value to 1 you will load the image directly into Video memory, rather than having the system automatically do it later on. If you set the Texture Mode to 2 you will ask that the image be compressed when used as a texture. Compressed textures take up less Video memory when used but requires special hardware on the card called Hardware Texture Compression.
It is recommended you don't use compressed textures when using the black transparency option on 3D objects that use the texture, as the performance hit is considerable.
SYNTAX
LOAD IMAGE Filename String, Image Number
LOAD IMAGE Filename String, Image Number, Texture Mode
RELATED INFO
Sprite Commands
Glossary
EXAMPLE
Saving An Image